from rest_framework import serializers
from django.contrib.auth.models import Group

class GroupSerializer(serializers.ModelSerializer):
    """
    获取用户组表列表数据
    """
    class Meta:
        model = Group
        fields = "__all__"